home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianStdNoLightCDraw.h < prev    next >
Text File  |  1994-08-01  |  543b  |  34 lines

  1. /*ScianStdNoLightCDraw.h
  2.   Eric Pepke
  3.   June 16, 1991
  4.  
  5.   No light CMAP mode picture drawing traversal.  It's an include file to 
  6.   limit the amount of typing I have to do.  I would have made it a macro,
  7.   but it has #defines
  8. */
  9.  
  10.         switch (curColorShading)
  11.         {
  12.             case NOCOLOR:
  13. #define P PCNN
  14. #define V VCNN
  15.             TRAVERSE;
  16. #undef P
  17. #undef V
  18.             break;
  19.             case MONOCOLOR:
  20. #define P PCNM
  21. #define V VCNM
  22.             TRAVERSE;
  23. #undef P
  24. #undef V
  25.             break;
  26.             case SMOOTHCOLOR:
  27. #define P PCNS
  28. #define V VCNS
  29.             TRAVERSE;
  30. #undef P
  31. #undef V
  32.             break;
  33.         }
  34.